/*
	The directives starting with # below ensures that this file is read by the compiler only once
	even if it is #included several times. It is call an "include guard"
*/
#ifndef ORDER_H_
#define ORDER_H_

//other types
#include "Date.h"				
#include "Time.h"				
#include <string>
using namespace std;

struct Order {
public:
	//data

	// constructors
	//---------------Cornell Edit--------------------
	Order (int oid, int sid, int tid, Chrono::Date d, Clock::Time t) 
		: order_id(oid), server_id(sid), table_id(tid), order_date(d), order_time(t) {}
	//-----------------End Edit----------------------
   // utility functions
	string display() const;
	int get_oid() const; //Get Order ID
	int get_sid() const; //Get Server ID
	int get_tid() const; //Get Table ID
	
private:
   //constants

   // private data
	int order_id;
	int server_id;
	int table_id;
	
	//---------------Cornell Edit--------------------
	Chrono::Date order_date; //uncomment once you have added the type definition
	Clock::Time order_time;  //uncomment once you have added the type definition
	//-----------------End Edit----------------------
};


#endif //ORDER_H_


